<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>stationName</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="layui/css/layui.css"  media="all">

    <script src="layui/layui.js" charset="utf-8"></script>
    <script>
        layui.use('table', function(){
            var table = layui.table;

            table.render({
                elem: '#test'
                ,url:'rbsystemStation/selectPage'
                ,cellMinWidth: 80
                ,height: 810
                ,cols: [[
                    {field:'stationId', width:100, title: '车站ID'},
                    {field:'stationName', width:150, title: '车站名称'},
                    {field:'stationNumber', width:150, title: '车站编号'},

                ]],
                page: {
                    layout: ['prev', 'page', 'next', 'skip','count','limit'] //自定义分页布局
                    , groups: 10 //显示 5 个连续页码
                    , first: "首页" //不显示首页
                    , last: "尾页" //不显示尾页
                    , limit: 20
                    , limits: [5, 10, 20, 50, 100]
                }
            });
        });
    </script>
</head>

<body>
<table class="layui-hide" id="test" lay-filter="test"></table>
</body>
</html>